<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/common.jspf"%>
<style type="text/css">
.col-sm-3 {
	width: 15%;
	float: left;
}

.col-sm-9 {
	width: 85%;
	float: left;
}

</style>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
		<section class="panel panel-default">
		<table class="layui-table"  style="font-weight: bold; text-align: center;">
				<tr>
					<td colspan="2">中山市泰源包装材料有限公司</td>
					<td colspan="4">作业指导书</td>
					<td>日期</td>
					<td><fmt:formatDate value='${processCond.Record_date }' pattern='yyyy-MM-dd HH:mm:ss' /></td>
				</tr>
				<tr>
					<td colspan="8"><h1 style="font-weight: bolder;">自动机成型工艺参数</h1></td>
				</tr>
				<tr>
					<td colspan="4">电厂供蒸汽</td>
					<td colspan="4">降温减压后</td>	
				</tr>
				<tr>
					<td>压力</td>
					<td>${processCond.Power_pressure }</td>
					<td>温度</td>
					<td>${processCond.Power_temperature }</td>
					<td>压力</td>
					<td>${processCond.Temperature_pressure }</td>
					<td>温度</td>
					<td>${processCond.Temperature }</td>
				</tr>
				<tr>
					<td>流程</td>
					<td>${processCond.Power_flow }</td>
					<td colspan="2"></td>
					<td colspan="4"></td>
				</tr>
				<tr>
					<td colspan="4">成型1--1#</td>
					<td colspan="4">成型1--2#</td>		
				</tr>
				<tr>
					<c:forEach var="key" items="${inspection}" >
						<c:if test="${key.id == processCond.Omolding}">		
							<td>蒸汽</td>
							<td>${key.Steam }</td>
							<td>真空</td>
							<td>${key.Vacuum}</td>
						</c:if>
					</c:forEach>
					<c:forEach var="key" items="${inspection}" >
						<c:if test="${key.id == processCond.Tmolding}">		
							<td>蒸汽</td>
							<td>${key.Steam }</td>
							<td>真空</td>
							<td>${key.Vacuum}</td>
						</c:if>
					</c:forEach>				
				</tr>
				<tr>
					<c:forEach var="key" items="${inspection}" >
						<c:if test="${key.id == processCond.Omolding}">		
							<td>高压</td>
							<td>${key.HighPressure}</td>
							<td>低压</td>
							<td>${key.LowPressure}</td>
						</c:if>
					</c:forEach>
					<c:forEach var="key" items="${inspection}" >
						<c:if test="${key.id == processCond.Tmolding}">		
							<td>高压</td>
							<td>${key.HighPressure}</td>
							<td>低压</td>
							<td>${key.LowPressure}</td>
						</c:if>
					</c:forEach>				
				</tr>
				
				<tr>
					<td colspan="4">成型2--1#</td>
					<td colspan="4">成型2--2#</td>	
				</tr>
				<tr>
					<c:forEach var="key" items="${inspection}" >
						<c:if test="${key.id == processCond.Smolding}">		
							<td>蒸汽</td>
							<td>${key.Steam }</td>
							<td>真空</td>
							<td>${key.Vacuum}</td>
						</c:if>
					</c:forEach>
					<c:forEach var="key" items="${inspection}" >
						<c:if test="${key.id == processCond.Fmolding}">		
							<td>蒸汽</td>
							<td>${key.Steam }</td>
							<td>真空</td>
							<td>${key.Vacuum}</td>
						</c:if>
					</c:forEach>				
				</tr>
				<tr>
					<c:forEach var="key" items="${inspection}" >
						<c:if test="${key.id == processCond.Smolding}">		
							<td>高压</td>
							<td>${key.HighPressure}</td>
							<td>低压</td>
							<td>${key.LowPressure}</td>
						</c:if>
					</c:forEach>
					<c:forEach var="key" items="${inspection}" >
						<c:if test="${key.id == processCond.Fmolding}">		
							<td>高压</td>
							<td>${key.HighPressure}</td>
							<td>低压</td>
							<td>${key.LowPressure}</td>
						</c:if>
					</c:forEach>				
				</tr>
				<tr>
					<td colspan="4">成型3--1#</td>	
					<td colspan="4"></td>	
				</tr>
				<tr>
					<c:forEach var="key" items="${inspection}" >
						<c:if test="${key.id == processCond.Fivemolding}">		
							<td>蒸汽</td>
							<td>${key.Steam }</td>
							<td>真空</td>
							<td>${key.Vacuum}</td>
						</c:if>
					</c:forEach>
					<td>模具冷却水压</td>
					<td>${processCond.Mold_coolingwater}</td>
					<td>真空冷却水压</td>
					<td>${processCond.Vacuum_coolingwater}</td>			
				</tr>
				<tr>
					<c:forEach var="key" items="${inspection}" >
						<c:if test="${key.id == processCond.Fivemolding}">		
							<td>高压</td>
							<td>${key.HighPressure}</td>
							<td>低压</td>
							<td>${key.LowPressure}</td>
						</c:if>
					</c:forEach>
					<td>巡查记录</td>
					<td>${processCond.Patrol_record}</td>
					<td>备注</td>
					<td>${processCond.remake}</td>				
				</tr>
				<tr>
					<td colspan="8">车间机台工艺记录</td>
				</tr>
				<tr>
					<td>机台号</td>
					<td>${processRecords.Machine_ID}</td>
					<td>模具编号</td>
					<td>${processRecords.Mold_Number}</td>
					<td>标准周期</td>
					<td>${processRecords.Cycle_Standard}</td>
					<td>实际周期</td>
					<td>${processRecords.Cycle_Actual}</td>
				</tr>
				<tr>
					<td>固模水冷时间</td>
					<td>${processRecords.OMold_Cooling}</td>
					<td>移模水冷时间</td>
					<td>${processRecords.OMould_Cooling}</td>
					<td>实际真空时间</td>
					<td>${processRecords.Actual_Vacuum}</td>
					<td>实际加热时间</td>
					<td>${processRecords.Actual_Heating}</td>
				</tr>
				<tr>
					<td>原因分析</td>
					<td>${processRecords.Analysis}</td>
					<td>改善结果</td>
					<td>${processRecords.Improve}</td>
					<td>日期</td>
					<td>${processRecords.Actual_Vacuum}</td>
					<td></td>
					<td></td>
				</tr>				
		</table>
</body>
</html>